package cn.com.lsy.product.lepao.service;

import cn.com.lsy.product.lepao.model.entities.LpTrainTypeVideoTbl;
import cn.com.lsy.product.lepao.model.entities.LpTrainVideoChildTbl;
import cn.com.lsy.product.lepao.model.entities.LpTrainVideoLabelTbl;
import cn.com.lsy.product.lepao.model.mt.entities.TrainTypeVideoListDto;

import java.util.List;

public interface ITrainCenterService {

    List<TrainTypeVideoListDto> selectActionLibraryByPage(int start, int end, String searchCondition, String type);

    int selectActionLibraryByCount(String searchCondition, String type);

    LpTrainTypeVideoTbl selectActionLibraryInfo(int id);

    boolean updateActionLibrary(LpTrainTypeVideoTbl param);

    boolean insertActionLibrary(LpTrainTypeVideoTbl param);

    List<LpTrainVideoLabelTbl> selectTrainVideoLabel();

    LpTrainVideoLabelTbl selectTrainVideoLabelInfo(int id);

    boolean updateTrainVideoLabel(LpTrainVideoLabelTbl param);

    boolean insertTrainVideoLabel(LpTrainVideoLabelTbl param);

    boolean delTrainVideoLabel(int id);

    LpTrainVideoChildTbl selectActionLibraryChildInfo(int parentId);

    boolean insertActionLibraryChild(LpTrainVideoChildTbl param);

    boolean updateActionLibraryChild(LpTrainVideoChildTbl param);

    boolean delActionLibraryChild(int id);
}
